package com.hqd.ch03.v30.web.utils;

import com.hqd.ch03.v30.utils.StringUtils;

import java.nio.charset.Charset;

public abstract class UriUtils {
    public static String decode(String source, String encoding) {
        return StringUtils.uriDecode(source, Charset.forName(encoding));
    }

    public static String decode(String source, Charset charset) {
        return StringUtils.uriDecode(source, charset);
    }
}
